
//3) Given an array of integers move all even numbers to the beginning of the array.

public class evenInt {

	public static void main(String[] args) {
			int[] o = new int[]{1,2,3,4,5,6,7,8,9,0};
			
			for (int i = 0; i < o.length;i++) {
				if (o[i]%2==0) {
					System.out.println(o[i]);
					}
			    }
			for (int j = 0; j < o.length; j++) {
				if (o[j]%2==1) {
					System.out.println(o[j]);
				}
			}
		}
}
